package persistence;
/**
 * The class is used to login/auth a user of the mobile app/author of a CDA document.
 * @author Felix
 */
public interface LoginManager {
	
	/**
	 * Checks if user/author with given uid/password combination can be found in persistence.
	 * @param uid user/author's uid
	 * @param password uid user/author's password
	 * @return true, if given uid/passsword combination can be found in persistence
	 * @throws DAOException In case of peristence based errors. (depends on implementation)
	 */
	boolean logIn(String uid, String password) throws DAOException;

}
